package cn.yhbk.web.modules.manager.Pojo.Entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("tb_sys")
public class SysEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String sysName;

    private String sysKey;

    private String sysValue;

    @ApiModelProperty("创建时间")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private LocalDateTime createTime;

    @ApiModelProperty("修改时间")
    @TableField(value = "update_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

    @ApiModelProperty("状态")
    @TableField("status")
    private Integer status;
}
